home *** CD-ROM | disk | FTP | other *** search
- Path: news.infi.net!usenet
- From: nngis@norfolk.infi.net (Greg DiGiorgio)
- Newsgroups: comp.lang.c
- Subject: Re: ok...
- Date: 6 Feb 1996 15:57:48 GMT
- Organization: Customer of InfiNet
- Message-ID: <4f7tps$90j@nw002.infi.net>
- References: <N.020696.080023.25@cfarrell.blitz.de>
- Reply-To: nngis@norfolk.infi.net
- NNTP-Posting-Host: h-gunslinger.norfolk.infi.net
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.99.3
-
- In article <N.020696.080023.25@cfarrell.blitz.de>,
- cfarrell@cumulus.blitz.de says...
- >
- >Well, ok..I think I have what I need. I posted earlier to this
- newsgroup, I
- >think...Asked about free tools for c. Well, I bought Turbo C++ version
- 4.5 for
- >windows. I then found my old copy of 3.0 for dos a week later. I can
- follow a
- >little bit of 3.0, and while the program works in 4.5 that worked in
- 3.0, I can
- >not understand it at all now.
-
- *** Ok, so now you have a DOS and Windows programming platform. Isn't
- TC++
- *** V4.5 still Windows-only (unlike its bigger brother Borland C/c++
- V4.52)?
-
- > For example, I am using a shareware library
- >called "CMagic" and this basically seems to make things simpler; but I
- have no
- >idea of the functions in 4.5, or what the proper syntax is or anything.
- I am
- >just learning, but I don't see how I can build windows programs in C++.
-
-
- *** Boy, you're right about that. It can take some coding, especially
- writing
- *** Windows programs in 'C'. That's why they invented Visual BASIC - to
- make
- *** Windows programming easier (much easier).
-
- >Before
- >you get upset, yes, I know...This is the "C" area, and not "C++".
- However, I am
- >not worrying about the ++ part until I can properly program in "C"
- first. My
- >compiler supports "C" so no problem.
-
- *** There is a school of thought that learning 'C' prior to learning C++
- is
- *** a detriment. The idea being that 'C' coders are set into a certain
- way
- *** of thinking about programming. With C++ the paradigm is much
- different
- *** and requires a new approach to programming. As such, you may have to
- unlearn
- *** concepts that became ingrained during your stint as a 'C' programmer.
- *** I don't completely agree with this line of reasoning, but it is worth
- *** thinking about. You might post to one of the C++ forums and get some
- *** people's ideas. Remember, you'll have to sift out the C++ bigots from
- *** those who are giving you straight dope.
-
- >Would appreciate some assistance. I am in
- >the Army now, and trying to learn C
- >++ or at least "C" so when I go back to school in a few years, I won't
- have
- >such a learning curve.
-
- *** Although you are in the ARMY, can't you take a programming course at
- *** a local community college? Doing so, will help you develop good
- *** programming habits from the start. Some self-taught folks (C, Pascal,
- *** or whatever) tend to shoe-horn a new language into something they
- *** already know. For example, I knew a guy from eastern europe that
- *** coded 'C' as if it was BASIC. I mean his 'C' programs looked just
- like
- *** vintage 60's BASIC code - 2 character variable names, no use of
- *** "else if", only "if". Only used the FOR loop, etc. He had simply
- *** carried over his knowledge and made 'C' fit his model. Don't fall
- *** into the same trap.
-
- >Please have a heart, and help me join your ranks. I know
- >basic, but so far I have seen few resemblences. Subroutines are similar
- to
- >functions, but I feel kinda lost other than that. Thanks in advance.
-
- *** Are you sure programming is what you want to do? To be mediocre, you
- *** have to devote alot of time. To be good, you live it. To be better
- *** than that - well, I don't know; you'll have to ask one of the few
- *** exceptional programmers.
-
- *** I chose programming after my college counselor told me that to
- *** do research biology I'd need advanced degrees. I really wanted to
- *** get into medicine, but had no funds to do so. I was in hock up
- *** to my neck for a BS degree, recently married, and in need
- *** of cash. That's how I ended up in programming. I'm happy I did,
- *** but now must live with the question of what it could have been
- *** like had I stayed with my first choice. Don't make the same
- *** decision for the same reasons.
- >
- >cfarrell@cumulus.blitz.de
- >
-
- Hope this helps,
- Greg DiGiorgio
-
-